package com.fgr.service;

import com.fgr.beans.Donation;
import org.springframework.stereotype.Service;

import java.util.List;

public interface DonationService {

    public String insertDonation(Donation donation);

    public List<Donation> selectAllDonation(Integer publish);

    public Donation selectDonationByDnId(Integer dnId);

    public String deleteDonationByDnId(Integer dnId);

    public Donation selectDonationAndUserAndType(Integer dnId);

    public String updateDonationPublishByDnId(Integer dnId);

    public String updateDonation(Donation donation);





}
